package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 建议实体类
 * @Author: FBL
 * @CreateDate: 2019\7\31 0031 11:52
 * @Version: 1.0
 */
@Table(name = "opinion")
@Data
public class OpinionEntity {
    @Id
    @Column(name = "opinion_id")
    private String opinionId;
    private String message;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String phone;
    @Column(name = "user_id")
    private String userId;
    private Integer status;

}
